package utils.http;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

public class UtilTest {
	public static void main(String[] args) throws IOException{
		HttpRequester rq = new HttpRequester();
		Map<String,String> para = new HashMap<String,String>();
		para.put("email", "angus1006@foxmail.com");
		para.put("password", "123456");
		HttpRespons rp = rq.sendPost("http://www.renren.com/callback.do?t=59360662f766c5e87be19d6a6c5bda188&origURL=http%3A%2F%2Fsafe.renren.com%2FNotice.do%3ForigURL%3Dhttp%253A%252F%252Fgame.renren.com&needNotify=false", null, null);
		System.out.println(rp.getHeaders());
		System.out.println(rp.getContent());
	}
}
